{% extends "base.html" %}

{% block title %}Set pilot role{% endblock %}
{% block heading %}Set pilot role{% endblock %}

{% block content %}
		<form action='/setrole' method='post'>
		<input type='hidden' name='id' value='{{op.key.id}}' />
		<input type='hidden' name='pilot' value="{{pilot}}" />
		<table>
			<tr>
				<td>Op name:</td>
				<td>{{op.name}}</td>
			</tr>
			<tr>
				<td>Pilot name:</td>
				<td>{{pilot}}</td>
			</tr>
			<tr>
				<td>Pilot role:</td>
				<td>
					<select name='role'>
						<option selected='selected'>None</option>
						<option>Triage</option>
						<option>2nd carrier</option>
						<option>Dread</option>
						<option>2nd dread</option>
						<option>Rapier</option>
						<option>Web Loki</option>
						<option>Salvage</option>
						<option>Tagging</option>
					</select> 
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type='submit' value='Set role'/></td>
			</tr>
		</table>
		</form>
{% endblock %}
